<template>
  <div id="demoContan">
    <div id="nav">
      <router-link to="/todoList">todoList</router-link> |
      <router-link to="/about">About</router-link> |
      <router-link to="/zhihu">ZhiHu</router-link> |
      <router-link to="/demoUse">demoUse</router-link> |
      <router-link to="/animation">animation</router-link>
    </div>
    <router-view/>
  </div>
  <!--  <HelloWorld msg="Hello Vue 3 + Vite" />-->
</template>

<script setup lang="ts">
import HelloWorld from './components/HelloWorld.vue'

// This starter template is using Vue 3 experimental <script setup> SFCs
// Check out https://github.com/vuejs/rfcs/blob/master/active-rfcs/0040-script-setup.md
</script>

<style lang="scss">
#nav {
  margin: 0 auto;
  padding-top: 20px;

  a {
    font-weight: bold;
    color: #2c3e50;
    font-size: 12px;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
